-- GENERATED SPELL FOR [Krellack] --


function spell0_14476(pUnit, Event) --@Fatal Sting,n/a--
pUnit:FullCastSpellOnTarget(17170,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14476', 12000, 1)
end

function Sorts_14476(pUnit, Event)
local choix_sorts_14476 = math.random(0, 0)
if choix_sorts_14476 == 0 then
pUnit:RegisterEvent('spell0_14476', 1, 1)
end
end

function mob14476_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14476', math.random(1500, 3000), 1)
end

function mob14476_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14476_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14476_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14476, 1, 'mob14476_Action')
RegisterUnitEvent(14476, 2, 'mob14476_Leave')
RegisterUnitEvent(14476, 3, 'mob14476_Kill')
RegisterUnitEvent(14476, 4, 'mob14476_Die')
